
package vip.xiaonuo.biz.modular.lancerCoupon.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 优惠券表编辑参数
 *
 * @author Lancer
 * @date  2024/03/03 16:29
 **/
@Getter
@Setter
public class BizCouponEditParam {
    /**
     * 商品盒子id
     */
    private String goodsBoxId;
    /** ID */
    @ApiModelProperty(value = "ID", required = true, position = 1)
    @NotBlank(message = "id不能为空")
    private String id;

    /** 原始数量 */
    @ApiModelProperty(value = "原始数量", position = 4)
    private Integer originNumber;


    /** 满多少才可以使用 */
    @ApiModelProperty(value = "满多少才可以使用", position = 7)
    private Integer fullMoney;

    /** 减少多少 */
    @ApiModelProperty(value = "减少多少", position = 8)
    private Integer reductionMoney;

    /** 生效时间 */
    @ApiModelProperty(value = "生效时间", position = 9)
    private Date useStartTime;

    /** 失效时间 */
    @ApiModelProperty(value = "失效时间", position = 10)
    private Date useEndTime;

}
